package com.ymatou.iapi.quickturnover.testcase;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.experimental.categories.Category;

import com.ymatou.iapi.quickturnover.service.SyncIdCardCostInfoCall;
import com.ymt.core.tool.Logger;
import com.ymt.utils.annotation.TestCase;
import com.ymt.utils.annotation.TestSuite;
import com.ymt.utils.tag.P1;
/**
*同步身份证相关总消费金额信息接口
*FreeMaker Template自动生成代码
*/
@TestSuite
public class Ts_SyncIdCardCostInfo {
	private static SyncIdCardCostInfoCall call;
	@BeforeClass
	public static void setUp() {
		Logger.createResultFile("同步身份证相关总消费金额信息接口");
	}

	@Before
	public void caseUp() {
		call = new SyncIdCardCostInfoCall();
	}

	@AfterClass
	public static void tearDown() {
		Logger.generateResult(call.getOpurl());
	}

	@After
	public void caseDown() {
		Logger.end();
	}
	@Test
	@Category({P1.class})
	@TestCase
	public void Tc_SyncIdCardCostInfo_001() {
		Logger.start(true, "同步身份证相关总消费金额信息");
		try {

			//call.setData(null);

			call.callService();

			Logger.verifyEquals("ok", call.getReturnData(), "验证code");

		} catch (Exception e) {
			Logger.fail(e);
		}
	}

}